﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Gencode.PrsCommon.Data.Person
{
    public class PersonBase
    {
        public PersonBase()
        {
        }

        public int PrsID
        {
            get;
            set;
        }

        string vorname;
        public string Vorname
        {
            get
            {
                if (vorname != null)
                    return vorname;
                return string.Empty;
            }
            set
            {
                vorname = value;
            }
        }

        string nachname;
        public string Nachname
        {
            get
            {
                if (nachname != null)
                    return nachname;
                return string.Empty;
            }
            set
            {
                nachname = value;
            }
        }
    }
}
